import sys
from python_ai.common.xcommon import *
import tensorflow as tf

print(tf.__version__)

row = tf.Variable([1, 2, 3, 4], dtype=tf.float32)
print(row)
mat = tf.broadcast_to(row, [3, 4])
print(mat)
col = tf.reshape(tf.Variable([1, 2, 3, 4], dtype=tf.float32), [-1, 1])
print(col)
mat = tf.broadcast_to(col, [4, 3])
print(mat)
